package com.sinosoft.hydra.um.services.component.dataoutput;

import jxl.write.WriteException;

import java.io.IOException;
import java.io.OutputStream;
import java.util.List;

/**
 * Created by Administrator on 2015/8/25.
 */
public interface DataWriter<T> {


    public void write(OutputStream outputStream, List<T> objs) throws IOException, WriteException;


    public void write(String path, List<T> objs) throws IOException, WriteException;


    public byte[] write(List<T> objs) throws IOException, WriteException;
}
